package com.wavehi.pojo;

import lombok.*;

/**
 * @Author WaveHi
 * @Date 23/9/2021 上午 9:34
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {
    private Long   id;            //用户id
    private String username;      //用户名
    private String password;      //用户密码
    private String imagePath;     //头像路径

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public User(String username, String password, String imagePath) {
        this.username = username;
        this.password = password;
        this.imagePath = imagePath;
    }
}
